package com.crl.module.chat.channel
{
	import com.crl.module.chat.model.MessageVO;
	
	/**
	 * 系统通道; 
	 * @author crl
	 * 
	 */	
	public class SystemChannel extends AbstractChannel
	{
		public static var SYSTEM_CLR:Number=0x990000;
		
		public function SystemChannel()
		{
			//不做时间限制;
			super("系统",SYSTEM_CLR,0);
			this.type=1;
		}
		
		override public function parseToString(vo:MessageVO):String{
			
			var message:String=this.parseMessage(vo);
			
			return getPrefix()+message;
		}
		
		
		override public function isClosed():Boolean{
			return false;
		}
		
	}
}